package com.kaixuan.mvvmdemo.http;

import com.kaixuan.mvvmdemo.bean.LoginReq;
import com.kaixuan.mvvmdemo.bean.LoginRsp;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by kaixuan on 2017/3/23.
 */

public interface BanMaApi {

    /**
     *
     * "http://112.74.214.109:8080/gym/gym"
     * /users/user/login
     *     String phone;
     String passWord;
     */

    @POST("users/user/login")
    Call<LoginRsp> login(@Body LoginReq user);

}
